home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / graphics / 563 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.1 KB

  1. Path: soap.news.pipex.net!pipex!usenet
  2. From: m.hendry@dial.pipex.com (Mathew Hendry)
  3. Newsgroups: comp.sys.amiga.graphics
  4. Subject: Re: ILBM to MPEG Conversion
  5. Date: Sun, 21 Jan 96 00:09:03
  6. Organization: Private node.
  7. Distribution: world
  8. Message-ID: <19960121.439D20.2DA@al068.du.pipex.com>
  9. References: <9601202108.AA0000f@treecres.demon.co.uk>
  10. NNTP-Posting-Host: al068.du.pipex.com
  11. X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
  12.  
  13. David Pearl (david@treecres.demon.co.uk) wrote:
  14. : I have an ILBM animation which I would like to have a go at converting to 
  15. : MPEG. I have split the anim into single frames and tried to use Easy MPEG 
  16. : from Aminet. The program produces the GOPs but the mpeg encode does not 
  17. : work and gives an Illegal Instruction Error. Do I need a FPU to run this 
  18. : program, if so are there any ILBM to MPEG converters that do not need an 
  19. : FPU to work.
  20.  
  21. mpeg_encode does not need an FPU (and the version included with EasyMPEG does
  22. not use one if present either, AFAIK). The most common problem with
  23. mpeg_encode, and EasyMPEG, which uses it, is insufficient stack space, which
  24. can easily produce crashes like you describe. Try running it with about 200000
  25. bytes of stack; I've never had any problems with that value here.
  26.  
  27. BTW, mpeg_encode really isn't that hard to use on its own, without EasyMPEG
  28. driving it. Convert your ILBMs to PPM files and it's then a matter of plugging
  29. the values into the config file and running the program. Below is an example
  30. config file, which produces reasonable quality results. You will need to
  31. change the lines marked with [*] to match your setup. Remove the [*]s before
  32. using it, of course ;)
  33.  
  34. --- CUT ---
  35.  
  36. PATTERN          IBBBPBBB
  37. OUTPUT           anims:mons_h.mpeg                    [*]
  38. BASE_FILE_FORMAT PPM
  39. YUV_SIZE         160x128                              [*]
  40. INPUT_CONVERT    *
  41. GOP_SIZE         8
  42. SLICES_PER_FRAME 1
  43. INPUT_DIR        apps:graphics/vista/anim             [*]
  44. INPUT
  45. mons_h*.ppm [00000-00190]                             [*]
  46. END_INPUT
  47. PIXEL            HALF
  48. RANGE            10
  49. PSEARCH_ALG      EXHAUSTIVE
  50. BSEARCH_ALG      CROSS2
  51. IQSCALE          4
  52. PQSCALE          8
  53. BQSCALE          8
  54. REFERENCE_FRAME  DECODED
  55. FORCE_ENCODE_LAST_FRAME
  56.  
  57. --- CUT ---
  58.  
  59. and type "mpeg_encode <name of config file>" to set it going.
  60.  
  61. Also BTW, I hope your ILBM animation is 24 bit. MPEG encoders _hate_ the
  62. dithering introduced by using only a few colours in an animation. If you
  63. have used dithering, you will get a much better quality (and smaller) result
  64. if you smooth each frame of the animation prior to encoding.
  65.  
  66. : I know very little about the MPEG format and I am looking for something 
  67. : easy to use like Easy MPEG.
  68.  
  69. ImageFX has an MPEG encoder which is said to be very easy to use, though I
  70. haven't used it myself. Whether you want to shell out on ImageFX just to
  71. produce MPEGs is up to you and your wallet, I suppose ;)
  72.  
  73. : Also is there a software MPEG decoder for MPEG2 (CDI Films) - Power advertise 
  74. : an MPEG Film Decoder with their CD Drives.
  75.  
  76. As far as I know, no. The only MPEG decoders I've seen for the Amiga are MPEG1.
  77. There may be commercial solutions of which I'm unaware, though.
  78.  
  79. -- Mat.
  80.